﻿@using ecommerce2011.Models
<!DOCTYPE html>
@{ 
    List<CartItem> carrito = (List<CartItem>)HttpContext.Current.Session["carrito"];
    String items;
    if (carrito != null){
        items = carrito.Count.ToString();
    }
    else{
        items = (0).ToString();
    }
}
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")"
rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/otros/jquery-1.4.1.min.js")"
type="text/javascript"></script>
</head>
<body>
    <div id="header">
        <h1>
            TOURESBALON E-COMMERCE</h1>
        <ul id="navlist">
            <li class="first"><a href="/"
id="current">Home</a></li>
            <li><a
href="/ConsultaProductos/">Productos</a></li>
            <li><a
href="/CartItem/">Carrito (@items)</a></li>
            <li><a
href="/Customer/">Zona de Clientes</a></li>
        </ul>
    </div>
    @RenderBody()
</body>
</html>